﻿@using Ec_System.Facade.Web;
@using Ec_System.Models.Web;
@using Webdiyer.WebControls.Mvc
@model PagedList<ShopProductData>

@{
    Layout = null;
    var image_server = new SiteConfigFacade().ImageServer;
}

<div class="h3_2">
    <div class="f_l">
    </div>
</div>

<div class="block box">
    <div class="AreaR3" style=" float:right">
        <div class="box">
            <div class="box_1" style="border-bottom:none">
                <h3><span title="店长推荐">掌柜推荐</span></h3>
                <div id="bossRecommend" class="boxCenterList clearfix">
                </div>
            </div>
        </div>
        <div class="blank"></div>
    </div>

    <div class="AreaL3" style="float:left; position:relative">
        <div class="cat_box2">
            @for (int i = 0; i < Model.Count; i = i + 1)
            {
                <ul>
                    <li class="goodsItem_kuang goodsItem_kuang2">
                        <div class="goodsItem" onmouseover="this.className='goodsItem goodsItem_on'" onmouseout="this.className='goodsItem'">

                            <a href="/Item/@Model[i].ProductID" target="_blank"><img src="@image_server/product/220220/@Model[i].ImageUrl" class="goodsimg" /></a><br />
                            <p><a href="/Item/@Model[i].ProductID" target="_blank">@Model[i].ShopProductTitle<span></span></a></p>
                            <p class="lujin">原价：<del>@Model[i].MarketPrice.ToString("C")</del></p>
                            <div class="clearfix">
                                <font class="f1">
                                    优惠价：@Model[i].ShopPrice.ToString("C")
                                </font>
                                <a target="_blank" href="/Item/@Model[i].ProductID" class="pinlun">评论(@Model[i].EvaluationCount)</a>
                            </div>
                        </div>
                    </li>
                </ul>
            }
        </div>
        <div class="blank"></div>
        <div class="f_l">
            @*<div><hgroup>  @Html.Pager(Model, new PagerOptions { PageIndexParameterName = "id", ShowGoButton = false, AlwaysShowFirstLastPageNumber = true })</hgroup></div>*@
        </div>
    </div>
    <div class="blank"></div>
</div>
@section Scripts{@{Html.RegisterMvcPagerScriptResource();}}